package pkg

import (
	"github.com/sonhineboy/meituanMediaSdk"
	"gorm.io/gorm"
)

type AppCtx struct {
	MtClient *meituanMediaSdk.Client
	Wechat   *MyWechat
	Db       *gorm.DB
}

func NewAppCtx(db *gorm.DB, wechat *MyWechat) *AppCtx {
	return &AppCtx{
		MtClient: meituanMediaSdk.NewClient(),
		Wechat:   wechat,
		Db:       db,
	}
}
